import httpInstance from "@/utils/http";

export function getCategoryAPI(){
    return httpInstance({
        url: 'home/category/head',
        method: 'get'
    })
}

export function getCategoryChildAPI(parents){
    return httpInstance({
        url: 'home/category/child/'+parents,
        method: 'get'
    })
}